/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package marifnst.jse71.using_loop_constructs;

/**
 *
 * @author arifnasution
 */
public class DoWhileLoop
{

    public void sampleDoWhileLoop()
    {
        System.out.println("=== sample do while loop");
        int i = 0;
        do
        {
            System.out.println("sample do while " + i);
            i++;
        } while ( i < 10 );
    }
}
